package com.cim.utils;

import java.util.UUID;

public class CharUtil {
    public static String getUUID(int len){
        if(len>32){
            len=32;
        }
        UUID uuid=UUID.randomUUID();
        String str = uuid.toString();
        return str.replace("-", "").substring(0,len);
    }
}
